package com.xy.modular.basics.entity;

import com.xy.framework.base.entity.Entity;
import com.xy.modular.basics.entity.user.User;

import java.util.List;

@SuppressWarnings("serial")
public class Dep extends Entity {
	public static final String NAME = "basics_dep.name";
	public static final String ISVALID = "basics_dep.isValid";
	public static final String SUPERMOD = "basics_dep.SUPERMOD";
	private String id;
	private String tenantId;
	private String tenantName;
	private String name;
	private String parent;
	private String isValid;
	private String superMod;
	private int sort;
	private String dutyId;
	private String remarks;
	private List<Dep> children;
	private User user;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getTenantName() {
		return tenantName;
	}

	public void setTenantName(String tenantName) {
		this.tenantName = tenantName;
	}
	public String getTenantId() {
		return tenantId;
	}

	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}

	public String getDutyId() {
		return dutyId;
	}

	public void setDutyId(String dutyId) {
		this.dutyId = dutyId;
	}
	
	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getSuperMod() {
		return superMod;
	}

	public void setSuperMod(String superMod) {
		this.superMod = superMod;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getParent() {
		return parent;
	}

	public void setParent(String parent) {
		this.parent = parent;
	}

	public String getIsValid() {
		return isValid;
	}

	public void setIsValid(String isValid) {
		this.isValid = isValid;
	}

	public List<Dep> getChildren() {
		return children;
	}

	public void setChildren(List<Dep> children) {
		this.children = children;
	}
}
